package com.zhongketech.sunflower.database;

import com.zhongketech.sunflower.util.Constants;
import com.zhongketech.sunflower.util.Utilities;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class MySQLiteOpenHelper extends SQLiteOpenHelper{

	private final static String TAG = "MySQLiteOpenHelper";

	public MySQLiteOpenHelper(Context context) {

		super(context, "privacy.db", null, 5);
		// TODO Auto-generated constructor stub
		Utilities.logCat(TAG, "creat privacy.db", Constants.LOG_INFO);
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		// TODO Auto-generated method stub
		Utilities.logCat(TAG, "create table", Constants.LOG_INFO);
		//db.execSQL("create table if not exists phoneNume("+"name vachar," +"num vachar)");
	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		// TODO Auto-generated method stub

	}

}
